<!--
    Author : Iis Afriyanti
    view ini digunakan untuk menampilkan konten login dan register
    berisi tampilan form untuk login dan untuk register
    css file : formcontent.css
-->

    <div class="page loginregister">
        <div class="container">
            <div class="span12 offset2">
                <form method="post" action="<?php echo site_url('flogin/validate') ?>">
                    <h3>Login Form</h3>
                    <div class="row">
                        <div class="span6 alert alert-info fieldcek">
                            <?php
                            echo $login;
                            ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="span4">
                            <input type="text" value="" name="username" class="span4" id="name" placeholder="Username..." />
                        </div>
                    </div>
                    <div class="row">
                        <div class="span4">
                            <input type="password" value="" name="password" class="span4" id="name" placeholder="Password..." />
                        </div>
                    </div>

                        
                    <div class="row">
                        <div class="span1">
                            <input type="submit" name="Login"  class="submitlogin btn btn-primary btn-large" id="Login" value="Login" />
                        </div>
                        <div class="span3">
                            <label class="checkbox span3" for="checkbox_rememberme">
                                <input type="checkbox" name="remember" value="1" id="checkbox_rememberme" data-toggle="checkbox">
                                Remember me
                            </label>
                        <div class="span3">Lupa <a href="<?php echo site_url('flogin/lostpassword'); ?>" data-toggle="modal">username atau password</a>?</div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>



<!-- 
                <div class="form-actions">
                  <button type="submit" class="btn btn-primary btn-large">Submit</button>
                </div>
              </form>
            </div>
        </div>
<!-- 
    <form id="registerform" class="rounded" method="post" action="<?php echo site_url('registration/reg_user') ?>">
        <h3>Register Form</h3>
        <div class="field">
            <label for="name">Nama depan:</label>
            <input type="text" class="input" name="nama_depan" id="fullname" for="nama_depan"/>
        </div>
        <div class="field">
            <label for="name">Username:</label>
            <input type="text" class="input" name="username" id="username" for="username"/>
        </div>
        <div class="field">
            <label for="email">Email:</label>
            <input type="text" class="input" name="email" id="email" for="email" />
        </div>

        <div class="field">
            <label for="email">Password:</label>
            <input type="password" class="input" name="password" id="passwd" for="password"/>
        </div>
        <div class="field">
            <label for="email">Re-type Password:</label>
            <input type="password" class="input" name="pass_conf" id="pass_conf" for="pass_conf"/>
        </div>

        <input type="submit" name="Submit"  class="button" value="Submit" />
        <div class="fieldcek">
            <?php
            //echo validation_errors();
            ?>
        </div>
    </form> -->